<!DOCTYPE html>
<html lang="zh"   xmlns:th="http://www.thymeleaf.org"
   xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4" th:with="blogConfig=${@configTag.getConfigValueMap('zgblog')}" >

<head th:if="${category!=null}">
	<th:block th:include="zgblog/blog_include :: blogHeader(title=${category.remark+' - '+blogConfig['oly.web.title'] },
keywords=${category.keywords},
description=${category.description},
blogConfig=${blogConfig})" />
</head>

<head th:if="${category==null}">
	<th:block th:include="zgblog/blog_include :: blogHeader(title=${'你请求的分类我们没有找到 - '+blogConfig['oly.web.title']},
keywords='分类不存在,服务器故障',
description='分类不存在或者不被支持,可能是服务器问题,可能分类已经被删除',
blogConfig=${blogConfig})" />
</head>
<body>
	<th:block th:include="zgblog/blog_include::blogMainColumn()" />
	<!-- 主体部分 -->
	<section class="zgblog-main-box">
		<div class="layui-row ">
			<div class="layui-col-md9  zgblog-left-box" id="miao-left">
				<div class="zgblog-left-content">
				
					<th:block th:if="${category!=null}"
						th:include="zgblog/blog_include::blogArticlesByCategory(category=${category},articles=${@articleTag.pageArticleByCategoryId('zgblog',category.categoryId,pageNum==null?1:pageNum,10)})" />
			
					<div class="layui-row" th:if="${category==null}">
						<div class="layui-col-md12 zgblog-box">
							<div class="layui-card-body" style="background-color: white;">
								分类不存在或者不被支持
							</div>
						</div>
					</div>
				</div>
			</div>

			<!-- 主体部分右边 -->
			<div class="layui-col-md3 zgblog-right-box">
				<th:block th:include="zgblog/blog_include::blogRightCommon" />
			</div>
		</div>

	</section>

	<!-- 底部导航 -->
	<th:block th:include="zgblog/blog_include::blogBottom" />
	<th:block th:include="zgblog/blog_include::blog_footer_js" />
</body>

</html>